package com.aruba.hiltapplication.di.module

import com.aruba.hiltapplication.di.impl.CallbackImpl
import com.aruba.hiltapplication.interfaces.ICallback
import dagger.Binds
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.android.components.ActivityComponent

/**
 * Created by aruba on 2021/12/7.
 */
@InstallIn(ActivityComponent::class)
@Module
abstract class CallbackFetcher {

    @Binds
    abstract fun provideCallback(callback: CallbackImpl): ICallback
}